Fix shell handling of unbalanced quotes and parens in output.
authorFabián Ezequiel Gallina <fabian@anue.biz>
Mon, 8 Oct 2012 21:30:36 +0000 (18:30 -0300)
committerFabián Ezequiel Gallina <fabian@anue.biz>
Mon, 8 Oct 2012 21:30:36 +0000 (18:30 -0300)
commit9fd43d6d30b02f166df2b4808acf1b67bcdcab5b
treebaa9ab50c6f455c908ce62cba71ffcd24ba50e41
parent4ed425bc9e3d515e2293334c4e8457e0d196586d
Fix shell handling of unbalanced quotes and parens in output.
* progmodes/python.el (python-rx-constituents): Added
string-delimiter.
(python-syntax-propertize-function): Use it.
(python-shell-output-syntax-table): New var.
(inferior-python-mode): Prevent unbalanced parens/quotes from
previous output mess with current input context.
lisp/ChangeLog
lisp/progmodes/python.el